/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zmy
 * @version 2019-04-17
 */
public class HhxOrder extends DataEntity<HhxOrder> {
	
	private static final long serialVersionUID = 1L;
	private String userid;		// 投资人id
	private String financeid;		// 项目id
	private String amt;		// 投资金额
	private String status;		// 状态：0-未支付 1-已支付
	private String financedesc;
	
	public HhxOrder() {
		super();
	}

	public HhxOrder(String id){
		super(id);
	}

	@Length(min=0, max=32, message="投资人id长度必须介于 0 和 32 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=0, max=32, message="项目id长度必须介于 0 和 32 之间")
	public String getFinanceid() {
		return financeid;
	}

	public void setFinanceid(String financeid) {
		this.financeid = financeid;
	}
	
	@Length(min=0, max=10, message="投资金额长度必须介于 0 和 10 之间")
	public String getAmt() {
		return amt;
	}

	public void setAmt(String amt) {
		this.amt = amt;
	}
	
	@Length(min=0, max=2, message="状态：0-未支付 1-已支付长度必须介于 0 和 2 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getFinancedesc() {
		return financedesc;
	}

	public void setFinancedesc(String financedesc) {
		this.financedesc = financedesc;
	}
	
}